.class public Lcom/esfile/screen/recorder/videos/merge/tools/ItemDraggableCallback;
.super Landroidx/recyclerview/widget/ItemTouchHelper$Callback;
.source "ItemDraggableCallback.java"


# instance fields
.field private a:Lcom/esfile/screen/recorder/videos/merge/tools/a;

.field private b:I

.field private c:I


# direct methods
.method public constructor <init>(Lcom/esfile/screen/recorder/videos/merge/tools/a;)V
    .locals 0
    .param p1    # Lcom/esfile/screen/recorder/videos/merge/tools/a;
        .annotation build Landroidx/annotation/NonNull;
        .end annotation
    .end param

    .line 1
    invoke-direct {p0}, Landroidx/recyclerview/widget/ItemTouchHelper$Callback;-><init>()V

    .line 2
    iput-object p1, p0, Lcom/esfile/screen/recorder/videos/merge/tools/ItemDraggableCallback;->a:Lcom/esfile/screen/recorder/videos/merge/tools/a;

    return-void
.end method


# virtual methods
.method public clearView(Landroidx/recyclerview/widget/RecyclerView;Landroidx/recyclerview/widget/RecyclerView$ViewHolder;)V
    .locals 0
    .param p1    # Landroidx/recyclerview/widget/RecyclerView;
        .annotation build Landroidx/annotation/NonNull;
        .end annotation
    .end param
    .param p2    # Landroidx/recyclerview/widget/RecyclerView$ViewHolder;
        .annotation build Landroidx/annotation/NonNull;
        .end annotation
    .end param

    .line 1
    invoke-super {p0, p1, p2}, Landroidx/recyclerview/widget/ItemTouchHelper$Callback;->clearView(Landroidx/recyclerview/widget/RecyclerView;Landroidx/recyclerview/widget/RecyclerView$ViewHolder;)V

    .line 2
    instance-of p1, p2, Lcom/esfile/screen/recorder/videos/merge/tools/b;

    if-eqz p1, :cond_0

    .line 3
    check-cast p2, Lcom/esfile/screen/recorder/videos/merge/tools/b;

    .line 4
    invoke-interface {p2}, Lcom/esfile/screen/recorder/videos/merge/tools/b;->c()V

    :cond_0
    return-void
.end method

.method public getMovementFlags(Landroidx/recyclerview/widget/RecyclerView;Landroidx/recyclerview/widget/RecyclerView$ViewHolder;)I
    .locals 0
    .param p1    # Landroidx/recyclerview/widget/RecyclerView;
        .annotation build Landroidx/annotation/NonNull;
        .end annotation
    .end param
    .param p2    # Landroidx/recyclerview/widget/RecyclerView$ViewHolder;
        .annotation build Landroidx/annotation/NonNull;
        .end annotation
    .end param

    .line 1
    iget-object p1, p0, Lcom/esfile/screen/recorder/videos/merge/tools/ItemDraggableCallback;->a:Lcom/esfile/screen/recorder/videos/merge/tools/a;

    invoke-virtual {p2}, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->getAdapterPosition()I

    move-result p2

    invoke-interface {p1, p2}, Lcom/esfile/screen/recorder/videos/merge/tools/a;->b(I)Z

    move-result p1

    const/4 p2, 0x0

    if-nez p1, :cond_0

    return p2

    :cond_0
    const/16 p1, 0xc

    .line 2
    invoke-static {p1, p2}, Landroidx/recyclerview/widget/ItemTouchHelper$Callback;->makeMovementFlags(II)I

    move-result p1

    return p1
.end method

.method public isLongPressDragEnabled()Z
    .locals 1

    const/4 v0, 0x1

    return v0
.end method

.method public onMove(Landroidx/recyclerview/widget/RecyclerView;Landroidx/recyclerview/widget/RecyclerView$ViewHolder;Landroidx/recyclerview/widget/RecyclerView$ViewHolder;)Z
    .locals 1
    .param p1    # Landroidx/recyclerview/widget/RecyclerView;
        .annotation build Landroidx/annotation/NonNull;
        .end annotation
    .end param
    .param p2    # Landroidx/recyclerview/widget/RecyclerView$ViewHolder;
        .annotation build Landroidx/annotation/NonNull;
        .end annotation
    .end param
    .param p3    # Landroidx/recyclerview/widget/RecyclerView$ViewHolder;
        .annotation build Landroidx/annotation/NonNull;
        .end annotation
    .end param

    .line 1
    invoke-virtual {p2}, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->getItemViewType()I

    move-result p1

    invoke-virtual {p3}, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->getItemViewType()I

    move-result v0

    if-eq p1, v0, :cond_0

    const/4 p1, 0x0

    return p1

    .line 2
    :cond_0
    invoke-virtual {p2}, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->getAdapterPosition()I

    move-result p1

    iput p1, p0, Lcom/esfile/screen/recorder/videos/merge/tools/ItemDraggableCallback;->b:I

    .line 3
    invoke-virtual {p3}, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->getAdapterPosition()I

    move-result p1

    iput p1, p0, Lcom/esfile/screen/recorder/videos/merge/tools/ItemDraggableCallback;->c:I

    .line 4
    iget-object p1, p0, Lcom/esfile/screen/recorder/videos/merge/tools/ItemDraggableCallback;->a:Lcom/esfile/screen/recorder/videos/merge/tools/a;

    invoke-virtual {p2}, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->getAdapterPosition()I

    move-result p2

    invoke-virtual {p3}, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->getAdapterPosition()I

    move-result p3

    invoke-interface {p1, p2, p3}, Lcom/esfile/screen/recorder/videos/merge/tools/a;->a(II)Z

    move-result p1

    return p1
.end method

.method public onSelectedChanged(Landroidx/recyclerview/widget/RecyclerView$ViewHolder;I)V
    .locals 2
    .param p1    # Landroidx/recyclerview/widget/RecyclerView$ViewHolder;
        .annotation build Landroidx/annotation/Nullable;
        .end annotation
    .end param

    const/4 v0, 0x2

    if-ne p2, v0, :cond_1

    .line 1
    instance-of v0, p1, Lcom/esfile/screen/recorder/videos/merge/tools/b;

    if-eqz v0, :cond_0

    .line 2
    move-object v0, p1

    check-cast v0, Lcom/esfile/screen/recorder/videos/merge/tools/b;

    .line 3
    invoke-interface {v0}, Lcom/esfile/screen/recorder/videos/merge/tools/b;->a()V

    .line 4
    :cond_0
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/merge/tools/ItemDraggableCallback;->a:Lcom/esfile/screen/recorder/videos/merge/tools/a;

    iget v1, p0, Lcom/esfile/screen/recorder/videos/merge/tools/ItemDraggableCallback;->b:I

    invoke-interface {v0, v1}, Lcom/esfile/screen/recorder/videos/merge/tools/a;->a(I)V

    goto :goto_0

    :cond_1
    if-nez p2, :cond_2

    .line 5
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/merge/tools/ItemDraggableCallback;->a:Lcom/esfile/screen/recorder/videos/merge/tools/a;

    iget v1, p0, Lcom/esfile/screen/recorder/videos/merge/tools/ItemDraggableCallback;->c:I

    invoke-interface {v0, v1}, Lcom/esfile/screen/recorder/videos/merge/tools/a;->c(I)V

    .line 6
    :cond_2
    :goto_0
    invoke-super {p0, p1, p2}, Landroidx/recyclerview/widget/ItemTouchHelper$Callback;->onSelectedChanged(Landroidx/recyclerview/widget/RecyclerView$ViewHolder;I)V

    return-void
.end method

.method public onSwiped(Landroidx/recyclerview/widget/RecyclerView$ViewHolder;I)V
    .locals 0
    .param p1    # Landroidx/recyclerview/widget/RecyclerView$ViewHolder;
        .annotation build Landroidx/annotation/NonNull;
        .end annotation
    .end param

    return-void
.end method
